import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from "@angular/router";
import { WjGridModule } from 'wijmo/wijmo.angular2.grid';
import { DataSvc } from './postmanagement/DataSvc';

import { HomeComponent } from './home/home.component';
import { CzmComponent } from './czm/czm.component';
import { OrganizationComponent } from './organization/organization.component';
import { PostmanagementComponent } from './postmanagement/postmanagement.component';
import { PostmanagementShareComponent } from './postmanagementshare/postmanagementshare.component';
import { PersonneladminComponent } from './personneladmin/personneladmin.component';
import { PostmanagementAddComponent } from './postmanagementadd/postmanagementadd.component';
import { CompanyInfoRoutes } from './companyInfo.routes';



@NgModule({
    imports: [CommonModule, WjGridModule, RouterModule.forChild(CompanyInfoRoutes)],
    declarations: [HomeComponent, CzmComponent, OrganizationComponent, PostmanagementComponent, PersonneladminComponent, PostmanagementShareComponent, PostmanagementAddComponent],
    exports: [RouterModule],
    providers: [
        DataSvc
    ]
})

export class CompanyInfoModule { }
